password hashing bcrypt in nodejs with mongodb